﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TeamCommunitySolution.Domain.DataLayer.Venues;

namespace TeamCommunitySolution.Services.Repositories
{
    /// <summary>
    /// Venue repository interface.
    /// </summary>
    public interface IVenueRepository
    {
        /// <summary>
        /// Saves the venue.
        /// </summary>
        /// <param name="venue">The venue.</param>
        void SaveVenue(Venue venue);

        /// <summary>
        /// Removes the venue.
        /// </summary>
        /// <param name="id">The id of the venue.</param>
        void RemoveVenue(string id);

        /// <summary>
        /// Gets the venue.
        /// </summary>
        /// <param name="id">The id of the venue.</param>
        /// <returns>Venue instance</returns>
        Venue GetVenue(string id);
    }
}
